@charset 'utf-8';
@import '../../../assets/styles/common';
.new_header {
    background-color: #222832;
}

.smart_container_rightBlock_top {
    display: block;
}

.smart_container_rightBlock_top,
.smart_container_rightBlock_top_phone {
    padding: rpx(25) 0;
    // padding-right: 2%;
    height: rpx(80);
    position: relative;
    z-index: 2;
    display: flex;
    max-width: 1180px;
    margin: 0 auto;
    .bottom_line {
        display: none;
        // position: absolute;
        // width: 95%;
        // height: 3px;
        // bottom: rpx(-3);
        // background-color: #f3f3f3;
        // left: 2.5%;
    }
    .logo {
        width: rpx(248);
        height: rpx(30);
        line-height: rpx(30);
        cursor: pointer;
        // margin-left: 2%;
    }
}

.smart_container_rightBlock_topDom {
    padding: rpx(40);
    @extend %clearfix;
}

.smart_container_rightBlock_top_phone {
    display: none;
}

.smart_searchBlock {
    padding: rpx(30) 0 0;
    width: 100%;
}

.smart_searchBlock_border_phone {
    display: none;
}

.smart_searchBlock_border {
    display: block;
}

.smart_searchBlock_border,
.smart_searchBlock_border_phone {
    max-width: 1180px;
    margin: 0 auto;
    height: rpx(120);
    border: 1px solid #d4d4d4;
    position: relative;
    padding: rpx(14) rpx(57);
    // z-index: 2;
    background: #0f46809e;
    .search_label {
        color: #fff;
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: bold;
        color: #FFFFFF;
        line-height: 36px;
    }
    .smart_searchBlock_SelectPlugin {
        width: rpx(120);
        border: 1px solid #dfdfdf;
        background: #fff;
        position: absolute;
        top: rpx(58);
        left: 0;
        font-size: rpx(14);
        text-align: center;
        border-radius: rpx(4);
        display: none;
        .li {
            padding: rpx(5) rpx(10);
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            cursor: pointer;
            line-height: rpx(30);
            &:hover {
                background: #f5f5f5;
                font-weight: bold;
            }
        }
    }
    .smart_searchBlock_allSelect {
        width: rpx(120);
        height: rpx(58);
        line-height: rpx(58);
        float: left;
        text-align: center;
        position: relative;
        cursor: pointer;
        font-size: rpx(18);
        span {
            font-weight: bold;
        }
        .line {
            width: 1px;
            height: rpx(40);
            background: #dedede;
            position: absolute;
            right: 0px;
            top: rpx(10);
        }
        &:hover {
            .smart_searchBlock_SelectPlugin {
                display: block;
            }
        }
    }
    .smart_searchBlock_rightText {
        width: calc(100%);
        // height: 100%;
        float: left;
        display: flex;
        flex-direction: row;
        input {
            width: 100%;
            height: rpx(48);
            line-height: rpx(48);
            // margin-left: rpx(10);
            font-size: rpx(16);
            color: #333;
            // margin-top: rpx(9);
            @include placeHolderColor(#999);
            background: #F8F9FA;
            border-radius: 6px 0px 0px 6px;
            padding-left: rpx(28);
        }
        .searchButton {
            width: rpx(90);
            height: rpx(48);
            border-radius: 0px 6px 6px 0px;
            background: #212832 url('../../../assets/images/newui/search.png') no-repeat center;
            background-size: 30%;
            cursor: pointer;
        }
    }
}

.smart_rightBlock_block {
    width: 100%;
    font-size: 0;
    text-align: right;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    //position: absolute;
    //right: rpx(20);
    .lis {
        display: inline-block;
        margin: 0 rpx(25);
        font-size: rpx(18);
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        cursor: pointer;
        color: #E8E8E8;
        a {
            color: #E8E8E8;
            &:hover {
                color: #EAA830;
            }
        }
    }
    .picker-new {
        position: relative;
        cursor: pointer;
        margin-right: rpx(40);
        overflow: inherit;
        .picker-block {
            display: none;
        }
        .language {
            width: rpx(18);
            height: rpx(18);
            margin-right: rpx(16);
            margin-top: rpx(-3);
        }
        .menu {
            display: none;
        }
        .arrow-down {
            font-size: 18px;
            vertical-align: middle;
        }
        &:after {
            // content: '';
            // display: inline-block;
            // width: 19px;
            // height: 9px;
            // vertical-align: middle;
            // background: url('../../../assets/images/public/downArrow_2.png') no-repeat;
            // background-size: cover;
            // margin-left: 10px;
            // margin-top: 3px;
            // transition: all 0.3s ease-in;
            // position: absolute;
            // top: rpx(10);
        }
        &:hover {
            .picker-block {
                display: block;
                width: 120px;
                position: absolute;
                border: 1px solid #dedede;
                background-color: white;
                left: -20px;
                top: 30px;
                box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
                font-size: 18px;
                text-align: center;
                z-index: 1;
                cursor: pointer;
                // position: relative;
            }
            .li {
                width: 100%;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                padding: 10px 0;
                font-size: 18px;
                color: #333333;
                &:hover {
                    background-color: #f5f5f5;
                }
            }
            // &:after {
            //     transition: all 0.3s ease-in;
            //     transform: rotate(180deg);
            // }
        }
    }
}

@media only screen and (max-width: 750px) {
    .smart_container_rightBlock_top {
        display: none;
    }
    .smart_container_rightBlock_top_phone {
        display: flex;
        height: rpx(64);
        padding: rpx(20);
        .logo {
            width: rpx(200);
            margin-left: 0;
            height: rpx(24);
            line-height: rpx(24);
        }
        .menu {
            display: block;
            width: rpx(18);
            height: rpx(18);
            margin-top: rpx(6);
        }
    }
    .smart_searchBlock_border {
        display: none;
    }
    .smart_searchBlock_border_phone {
        display: block;
        height: rpx(40);
        background: none;
        border: none;
        padding: rpx(0) rpx(20);
        .smart_searchBlock_rightText {
            input {
                border: 1px solid #434343;
                border-radius: 6px 0 0 6px;
                font-size: rpx(12);
                height: rpx(40);
                line-height: rpx(40);
                padding-left: rpx(10);
                border-right: none;
            }
            .searchButton {
                width: rpx(42);
                height: rpx(40);
            }
        }
    }
    .smart_rightBlock_block .picker-new:hover .picker-block {
        left: rpx(-40);
    }
    .smart_rightBlock_block .picker-new .arrow-down {
        font-size: rpx(14);
        margin-top: rpx(4);
    }
    .ivu-dropdown-item a {
        color: #515a6e;
    }
    .smart_rightBlock_block .lis a:hover {
        color: #e8e8e8;
    }
}
